VObject::TrackInContent
Section: ET++ method description (n)
Updated: automatically Mon Apr 8 20:17:57 1991
Index
Return to Main Contents
NAME
VObject::TrackInContent - instance method
TEMPLATE
commandToPerform = Command *
TrackInContent(Point locatorPoint, Token inputToken, Command * tracker)
SPECIFIERS
public
virtual
DESCRIPTION
The method DispatchEvents calls TrackInContent for its focusClipper argument with the tracker command returned by the method DoLeftButtonDownCommand or the method DoMiddleButtonDownCommand.
The default implementation just returns the tracker. Only the class Clipper overrides this method. The method Clipper::TrackInContent tracks the mouse and calls the tracking methods of the tracker during the different track phases such as mouse button pressed, mouse moved and button released.
Method is rarely overridden.
ARGUMENTS
- Point locatorPoint
-
see method DispatchEvents
- Token inputToken
-
see method DispatchEvents
- Command * tracker
-
a mouse tracking command which should have its Track... methods overridden
RETURN ARGUMENT
- Command * commandToPerform
-
the final command to perform or gNoChanges. In most of the cases this command is identical to tracker but it need not be. It is possible to perform mouse tracking with one command and during or after tracking replace it with another undoable command.
CATEGORIES
mouse tracking, implementation
FIRST DEFINITION
class VObject
FILES
- implementation:
-
VObject.C
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FIRST DEFINITION
-
- FILES
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:21 GMT, March 30, 2022